package com.skyblue.service;

import com.skyblue.entity.RealTimeView;
import com.skyblue.entity.RealTime;
import com.skyblue.entity.Security;

import java.util.List;

/**
 * Created by toutou on 2018/5/27.
 */
public interface DefaultService {
    List<RealTimeView> queryBasic(Integer yuzhi);
    List<Security> queryBylocationkey(String sublocation);
    int modifyBySecurity(Security realTime);
    int modifyByLocationKey(Security security);
    int modifyBySubLocation(RealTime realTime);
    List<Security> queryAllSecurity();
    List<Security> queryBySecurity(String security);
    List<Security> querySecurityMsg();
    List<RealTime> queryAllSubBykey(Integer locationkey);
    int addNewSublocation(RealTime realTime);
    int querySub(String newSub);
    int delectSubBySub(String sublocation);
    List<RealTimeView> queryBySub(String sub);
    int addSec(Security security);
}
